#pragma once

#include "imgui/node/pch.h"
#include "imgui/node/Pin.h"

namespace ImNodes
{
    struct Colors
    {
        unsigned int color;
        unsigned int hoverColor;
        unsigned int selectedColor;
        Colors() {}
        Colors(unsigned int c, unsigned int h, unsigned int s) :color(c), hoverColor(h), selectedColor(s)
        {

        }
    };
    struct Node
    {
        int m_ColorIndex;
        bool m_Enable;
        int m_Id;
        ImVec2 m_Pos;
        bool m_FirstFrame;

        Node(int& nodeIndex, const int colorIndex = 0)
            :m_Enable(true), m_Id(nodeIndex++), m_FirstFrame(true), m_ColorIndex(colorIndex)
        {

        }
    };
};
